package com.yunwushanhe.student.service;


import com.yunwushanhe.student.bean.req.PageReq;
import com.yunwushanhe.student.bean.req.ScoreUpdateReq;
import com.yunwushanhe.student.bean.ret.Result;
import com.yunwushanhe.student.bean.req.ScoreAddReq;
import com.yunwushanhe.student.bean.ret.ScoreAndStudentName;
import com.yunwushanhe.student.entity.Score;

import java.util.List;

public interface ScoreService {
    Result<String> add(ScoreAddReq addReq);

    Result<List<ScoreAndStudentName>> selectPage(PageReq pageReq);

    Result<String> deleteById(Long id);

    Result<ScoreAndStudentName> selectById(Long id);

    Result<String> updateById(ScoreUpdateReq updateReq);
}
